package com.artisan.provider.mapper;

import com.artisan.provider.domain.TEvaluate;
import com.artisan.provider.domain.TPromotionSeckill;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface TPromotionSeckillMapper extends Mapper<TPromotionSeckill> {

    List<TPromotionSeckill> findUnstartSecKill();

    TPromotionSeckill findById(@Param("value") int value);

    List<TPromotionSeckill> findExpriceSecKill();
}